package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Book;
import com.example.mapper.BookMapper;
import org.springframework.beans.factory.annotation.Autowired;

public interface IBookService extends IService<Book> {

    /**
     * 分页查询
     * @param currentPage
     * @param pageSize
     * @param book
     * @return
     */
    IPage<Book> getPage(int currentPage, int pageSize, Book book);
}
